<?php
class CommonHelper extends HtmlHelper {
	function create_menu(){
		$menu  = "<ul>";
		$menu .= "<li>".$this->link("CodeIgniter",array("controller"=>"templates","action"=>"view",1))."</li>";
		$menu .= "<li>".$this->link("CakePHP",array("controller"=>"templates","action"=>"view",2))."</li>";
		$menu .= "<li>".$this->link("Zend",array("controller"=>"templates","action"=>"view",3))."</li>";
		$menu .= "</ul>";
		return $menu;
	}
	
	function general(){
		$data = array(
				'header' => '/Layout/header',
				'footer' => '/Layout/footer',
		);
		return $data;
	}
}
?>